package com.xy.mapper;

import com.xy.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserMapper {
    /**
     *  根据id查询用户
     * @param name
     * @return
     */
    User queryUser(@Param("name") String name);
}
